﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WCS.Infrastructure.Dto.Response.Lottery
{
    /// <summary>
    /// 抽奖奖品查询响应对象
    /// </summary>
    public class LotteryPrizeQueryResponseDto
    {
        /// <summary>
        /// 奖品ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 所属活动ID
        /// </summary>
        public string ActivityId { get; set; }

        /// <summary>
        /// 奖品自身抽中概率（比例值），有效奖品概率和≤1，其余视为“谢谢参与”
        /// </summary>
        public decimal Ratio { get; set; }

        /// <summary>
        /// 关联优惠券模板ID
        /// </summary>
        public string TemplateId { get; set; }

        /// <summary>
        /// 优惠券模板名称
        /// </summary>
        public string TemplateName { get; set; }

        /// <summary>
        ///  海报图片URL
        /// </summary>
        public string? PosterUrl { get; set; }

        /// <summary>
        /// 优惠券类型：1=减免券，2=折扣券，3=礼品券
        /// </summary>
        public int TemplateType { get; set; }

        /// <summary>
        /// 扩展属性
        /// </summary>
        public string ExtraProperties { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreationTime { get; set; }


    }
}
